<?php

  require_once('includes/db.php');

//pr($_GET);
 $id = urlencode($_GET['id']);

 $id = decrypt($id);

$updated = update('users',array('status'=>1),"id=$id");

if($updated){
  echo "<h4>Your email id is now verified</h4>";
}

